Remove snapshot preparation code