Fixes
Merge pull request #189 from lbrasseur/fixes

Injecting resources by name in a library doesn't work