Add ability to save model