Mock for setting.