[PD] Managing externals/abstractions in libraries