code: function () {
  	var type = Array.prototype.shift.apply(arguments);
  	var channel = Array.prototype.shift.apply(arguments);
  	var callback;
  	if (arguments.length > 0 && typeof arguments[arguments.length - 1] === 'function'){
  		callback = arguments[arguments.length - 1];
  		Array.prototype.splice.call(arguments, -1, 1);
  	}
  
  	var options;
  	if (arguments.length > 0 && typeof arguments[arguments.length - 1] === 'object'
  		&& arguments[arguments.length - 1].type === undefined) {
  		options = arguments[arguments.length - 1];
  	}
  
  	Array.prototype.unshift.call(arguments, type);
  	var payload = createTileOrToast.apply(this, arguments);
  
  	return exports.send(channel, payload, 'wns/' + type, options, callback);
  }
docs: Send a tile or toast with multiple bindings to a WNS channel signature: (type, channel, payload+, [options], [callback]) type - [required] 'tile' or 'toast' channel - [required] channel URI to send notification to payload - [required] one or more bindings specified as XML strings or JSON objects options - [optional] same as options for wns.send and wns.createTile combined into one object callback - [optional] same as callback for wns.send