Add methods to resampler