First step of the resume feature from #24.

Should we put this also in the `command_manager`?