Changes to model loader to use messaging to build model.