Move docstring inherit decorator to misc