Added interface to xmlstats api