Writing plugins doc.