added extendDocs to add options descriptions to docs