Added createDocument(Map) and createDocument(Object...) methods to
Database