This ends up in data being copied, but since it is one-time I guess it is ok.