Where possible, converts Spring field injection to constructor injection and using @Service or @Component annotations instead of declaring beans manually.