Add support for snapshots API