added support for features in 'autowire'