WPrefs: Added the proper 'const' attribute to the dictionnary functions