Removing outdated references