Add onInstall method, called when the extension is installed for the first time.