Support single-constructor algebraic types.