Converted to a plugin
Documented for use as a plugin