Allow redefine fetchText function