ticks: Add new interface for timer implementations.