Adds ability to pass enumerator into bulk document collection.
Adds support for constructing Documents from anonymous objects.