Adding target_rank to details to match up with standard output.