Fixed XPD error, due to function renaming.