Expose addText(text, options) in loader context