Improvements on pydoc types.