Updated to use timers 3.0 when it is available.