The isLegacy check is not needed here either.