Show a warning when none of the collections of a type are public

For less confusion