Fix up ndt.type reprs in docstrings