Fixed an issue with setting the value of a model property directly (#31).