Fix out of date code.