Documentation for models.js