remove visible_private_types