Add the sampler, which I forgot to include in the last commit.