Optimized loading of libraries in systemresource