ENH: Add Model class and example.