Switched to constructor injection and made all injected beans final.