Register snapshots.

Closes #16880.