Added support for new timer function.