Implement `loadData` and `loadHTMLString`