Changed reset method to use clear/set instead of nonexistent "reset"