Added trailing semicolons.
Improved documentation in model.