Build failed because of dead code in XingProvider