Move timer methods to 'timer' namespace