The .addListener() methods are missing:
Examples:
chrome.pageAction.onClicked.addListener(); or
chrome.runtime.onInstalled.addListener();
Would be interested in contributing this, though I have never worked on a editor extension so I'll need to read in first.