compat with IAttr interface