Add support for document.title