Improve membership management commands