Async XML loading, Move XML methods to parser class