Implemented #83637396. Setters now return the value to be set.
Merge pull request #71 from teem2/setterreturn

Implemented #83637396. Setters will now return the value to be set.