added `include_doc` option