Add object setters.
Merge pull request #1 from rshkarin/object-setters

Add object setters.