The reasons
  for this are as follows:</p>

  <ul>
    <li>The concept of state-local storage mandates that state-entry and
    state-exit actions are implemented as members</li>

    <li><code>react</code> member functions and transition actions often
    access state-local data. So, it is most natural to implement these
    functions as members of the class the data of which the functions will
    operate on anyway</li>
  </ul>

  <h2><a name="Limitations" id="Limitations">Limitations</a></h2>

  <h4>Junc