Fixed problem with too early SysPrefs reference.