Only collect exported types for the package being compiled