s/toCan/to/ thanks to @matthewp
Updated to match new plugin API