Add support for --types to print types