Added accessors to the RelationType class