Added "fetch IDs" support.