Add subcommands for snapshotting.