Hack for type field