Ah, I didn't know that primitives could only return a single primitive type. Still, I suppose you could pass in where you wanted the two parts of the answer to go if the actual code generator was clever enough to optimize it away. (Not that it seems worth it or at all easy.)