Fix example warnings.