Restore changes made to materializeRecord: directly in build artifact