Adding flags :enable-sampling and :disable-sampling to explicitly control sampling for all actions.