Expanded xar source code