Support section, symbols and characteristics.

While here, make it easier to extend by providing macros to eliminate
the mundane that goes into writing getset members.