Removed some outdated code.