Add support for chrome.extension API in devtools extension.