Add support for constants of named struct type.

Fixes #22.