Changed virtual timers to conform with the new API (3.0.0)