Added methods for creating, loading, and saving models.