Remove dependency on snapshot gem