Added Attach method for Windows Phone provider.