Models bugfix.