[DOC] Fix class name in code examples

When creating a class with the new API, we should use models.Model instead of just Model.