Implemented timer wrapper.