Improve some common commands.