Updated the extension so that it works with the new changes.