Add a `reset` method

This is mostly useful for tests