Updated with a bugfix in syntax errors.