Added ability to redefine internal functions using runkit