Completed model.js documentation