Fixing a bug due to function renaming.