Added new functionality to reset, allowing for *partial* resets.