Saving implemented, not tested.