Revise and complete implementation of group management.