Remove redundant methods from code generators for RoleMany