Moved "saveAsPng" method to SequenceDiagram object.