I think this needs the check attrs is defined as well. I ran into a crash testing this branch because a binding was trying to access this after the record had been unloaded, so the readAttribute returned undefined.