Add TextWrite functionality to browser.