Clean up some commands.