Corrected model persistence issues.