Begin to rewrite implementation for note restoration.