Handing of functions that return structures seems to be working.