Some timer function enhancements.