Implement basic timer functionality.