only call #process_type if we have a type