Fix plugin declaration stuff.