Teasing apart autowire api