Change "key" parameter name to "state" on MicroMachine#on method.