Rename some functions and parameters.