public bool SetPropertyInteger(string key, int val)
            {
                var prop = PropertyValue.FromInteger(val);

                if (properties.ContainsKey(key) && properties[key].Equals(prop))
                {
                    return(false);
                }

                properties[key] = prop;
                return(true);
            }