Added optional xapiwrapper param, sample data