Removes some old code.