Added XML theme support.