Added xml interface of Pipe