Removed a lot of the old extension listener code.