Fix missing @Bean annotation.