fixed incorrect declaration
actually fix the error
updated exception
updated resource syntax & docs
Merge pull request #31 from phoolish/purge_plugins

Purge plugins