Implementing a new EntityFactory to proxy the entities for lazy load.