Fix minor reference errors.