Adding xstream api