call PluginExecutor in apply method, fixes issue 164

Fix for issue 164, also fixed a doc warning.