Fix references.