Implement BaseModel.js