Added user defined type example.