The HydratorInterface defines methods all hydrator need to implement
Document Proxy interface.
Interface for document repository factory.