Allow autowiring to take place even in teardown