Added XML support and sprites.