Fix plugin registration