Added some documentation for plugin interface