RoleWidget class refactoring done.