Added State Diagram.