Minor fix to bootstrap script to make it easier to test API doc generation.
Slight modification to plugin API to make it easier to write new plugins.