Spring component scope fix.