Reimplemented easier open and save methods for saving trained model
objects.