In which two places can thresholding settings be configured? (Choose two.)