code style cleanup in models
Merge pull request #422 from martinpovolny/coding_style

code style cleanup in models