Changed to SBMLDiagram class