Replace constants with SystemSetting methods