Changed to method injection.