Restore method needed by tvr-decoder tests.