Added priorities when loading plugins.