#4137 Remove unused xat code