Added DocumentCollection implementation.