}
} else if (contextObject instanceof SpeciesReference) {
SpeciesReference speciesReference = (SpeciesReference) contextObject;
if (elementName.equals("stoichiometryMath")) {
StoichiometryMath stoichiometryMath = (StoichiometryMath) newContextObject;
speciesReference.setStoichiometryMath(stoichiometryMath);
return stoichiometryMath;
} else {
log4jLogger.warn("The element " + elementName + " is not recognized");