Revert tail reference removal