Fix references to incorrect properties.