Pretty-printing of types in docs now take imports into account