model loader: new API changes