Add dump and restore commands.