Model loading fix.