Revised integration demo to accommodate the chage of 'type' to 'model'.