refactor to inheritdocs