Hibernation: Introduce begin() and end() callbacks