Finished converting party role type to a repo model.