[webdoc] Add method back into the plugin code that was eaten up by the rebase.