Added a reset option.