Changed primitive types to reference types.