Updated the StopWatch class to be the same as the repository.