Implement save() and load().