Removed externalize methods that takes separate document.