Fixed some syntax errors in new models