Add replaceExtras methods to ShadowIntent.