Cherry pick require to avoid shadowing core functions