I'm not sure what the types of these attrs can be at this point, but if one is nil or non-primitive, this will throw an exception.  Maybe that is desired?