[Bugfix] Fixes names of two functions.

For consistency.