Added typeclass instances for all primitive types