Removed unneeded registering of primitive types (registered by default).