createModel method should throw an exception. It make no sense to call this method for null storage.