public static XmlElement WithProperties(this XmlElement element, Cache<string, string> properties)
        {
            properties.ForEachPair(element.SetAttribute);

            return element;
        }