Support for user defined structs