add get_path_for_doc, remove broken Doc stuff