change RoleType to PartyRoleType