Made createModel() private and added public get() method to factory (fixed)