eventloop: Turn timers into objects.