added includeDocs option