Add support for compound types.