Add an extension hook in the settings