Removed type conversion w/ primitive types based on dynamic delegate generation. Instead, we just do a simple switch on type code.