Fix Spring support
Merge pull request #5 from strika/master

Fix Spring support