Add documentation for NDPluginAttribute. Fix minor comment issues in code.