Fixed syntax errors in all models and schema.