More logging for referred to types.