replace

open fun <Model, Data> replace(    modelClass: Class<Model>,     dataClass: Class<Data>,     factory: ModelLoaderFactory<out Model, out Data>)