Added plugin types and a validation check