Add optional ProxyFactory for managing lazy loading