Fix several silly errors.