Optimize model instantiation and conversion