add support for object type