LegacyEmptyPass cleanup.