removed unused enum ObjectType