Cleanup on register-menu and user-profile.