added Typeable to some data types used in the postgresql database