Config methods

State A
State B
State C

This example demonstrates adding methods to the StateMachine via the methods block.

This allows you to mix-in additional methods to the StateMachine instance, which may be called directly from your handlers using this.methodName().

Check the console to see the output of the utility method log() added to this instance.