Add external-classes option.
Don't report duplicated errors.
Rename CheckPlugin to CheckPluginCommand.