Typeable instance workaround