Fix spec errors.