These are required for xstream 1.4.3... not sure if this is used though, since NX is using this code and its behaving fine?  w/o this.  Anyways, updating the code here should be very low impact.