Added loading of waterMass from xml.