Added a config option to disable references.