Adding the ability to create new model instances.

Resolves #31