Add support for syntactic classification.

Tests pending.
spelling : should