filter out internal and private types declared in referenced assemblies