Rename ref function.