Added Document to Drop function

Made a few changes to doc_search_funcs as well.