Add reset() for advance().