The unsetShardVersion() method is only called from eval.cpp, and only to unset the shardVersion before returning from the command, which is unnecessary.