Reimplementing model loader