Improve inspect_types for interactively console