PLFM-1815 Refactor DoiObjectType and ObjectType.