public object this[string key] { get { return GetValue(key); } set { CheckValidType(value); SetValue(key, value); } }