Fixed left over error from merging. Added to public header for pref plugin