Added a getClock method to return the static reference to the clock.