Fix reference to the old entity functions.
Merge remote-tracking branch 'origin/7.x-1.x' into 7.x-1.x