Misc Spring code