Rename local functions