Enable or disable the function of referring.