Simplified models.js