[PATCH 2/4] Slave: add map_if_by_params to SlaveMethods