Removed unused group editing code from model.