Adding Validate functionality to plugin_types.py