Fixes signatures of save and restore methods of observable.