remove dependency on NumericExtensions