Adding support for sampling timers.