Fix plugin type values.