Removing requires from math-function