Allow undefined to create an empty model instance
Merge pull request #25 from Tape/master

Fix: undefined model instance parameter causes fatal error