Clean up old commands.