adds SnapshotRetention method