DI: Smarter implicit value of $autowired in ServiceDefinition