Add some common variables/methods in AbstractSampler