Fix issue with defaultModel singleton management

Model.defaultModel is a singleton but is never assigned a value, causing
the multiple calls to the method Model.defaultModel() to go through the
time consuming task of recreating it each time.