Add support for define-type and structures to universal backend