Correct references to old type.