Added Sampled trait, that stores a sampling rate.