added expand_statdocs