reset() seems more logical than end().