Fixed compile errors between States and Timers