Removed external references to some functions

Especially the addClass/removeClass versions where the function's entire
purpose is to FSM.get("...")(...).