Refactoring Timer<>::AddTask