Add params to attributeChanged()