Add instances for basic types of the new generic deriving mechanism.