Nuke redundant code for the Freetext widget