Make syntax class for syntax properties.
Make better interface for properties with only booleans.
Minor cleanup in prims.
Cleanup duplication in check-subforms-unit.