Add tapTempo directive. Also remove some dead code.