Fixing case where StaticInjections were incorrectly failing unused provider check Closes #216