Adding missing function needed for the widescale plugin see BT#5637