Switched setter to attribute setter