Small fix for models using getters/setters (unaccessible properties).
Merge pull request #24 from michaelkrone/master

Small fix for modesl useing getters/setters (unaccesible proerties).