Fix improper handling of unknown element subsections.
Add support for user-defined ctors and dtors.