Add examples of using complex types with new Custom API's