Fix spec syntax errors.