made object type and subtype class constants