Resource sharing in libraries.