doc: add writer docs.