common/resample: Cosmetics.