Unshadowed mode and generator accessor function.

* Add support for unshadowed content via the shadowed attribute.
* Add a getGenerator method to get the element's text generator.
* Fix the incorrect attribute names in the README.