Get rid of unnecessary inner classes in AutoStartTimer.