Documentation: correct subclassing SchemaNode examples.

Fixes #149 and fixes #155.