Document how to write and use plugins