Rename freeSampler to sampler.