changed documentation to be compatible with the new get_fields API