Remove get_batch_key in favour of get_latest_batch_key.