Added get_annotated_list_qs and max_depth for get_annotated_list