Extends standard functions to their original glory. Fixes a missthought at parameter type casting.