add autowiring support