Remove unused attribute
Check that names are valid before using them
A more compact way to write syntax error tests
Minor changes
More text