Adds Sampler class