Fixes bug when creating Models without all data (#69)

Getters/setters for properties would not be correctly defined