Removed the deprecated 'type' field from the discover plugin.  [SW]