Removing extraneous output from list_types