Rename functions and variables