Adds lg() and log10() as logarithm functions