Change the way the attributes are set