Fix setter for model properties.
The setter must return the new value assigned. (to avoid recursive calling)