Updated documentation with callback

Including the callback function in usage, not explaining it is likely to
lead to people not understanding the point of the plugin.