Fix missing return errors.