Removing upgrade functions