add ability to use interfaces as dependencies via @Bean annotated classes, instead of just provided methods.