Simplify logic in writing-a-plugin docs
Merge pull request #513 from jedmao/writing-a-plugin

Simplify/clarify logic in writing-a-plugin docs