public void SaveToStream(Stream stream)
        {
            var collection = new SpellMetadataCollection(this.Spells);
            var serializer = new XmlSerializer(typeof(SpellMetadataCollection));
            var namespaces = new XmlSerializerNamespaces();

            namespaces.Add("", "");

            serializer.Serialize(stream, collection, namespaces);
        }
        public void SaveToStream(Stream stream)
        {
            var collection = new SpellMetadataCollection(this.Spells);
              var serializer = new XmlSerializer(typeof(SpellMetadataCollection));
              var namespaces = new XmlSerializerNamespaces();
              namespaces.Add("", "");

              serializer.Serialize(stream, collection, namespaces);
        }