Change FactoryBean<T> to ProxyFactoryBean