Removing outdated variables