Add logic for dynamically registering timers