Made Uid comparable.