Other modifications on Sampler.