It is not clear in the section of how to use the source plugins that the directory option exists. You have to go to the plug-in api section which I found unexpected. i have not moved this but i have noted it and linked to it in a more user sentric part of the docs.