Rename some functions for better clarity.