Rename close function.