Changed Sender parameter to be optional

Changed Sender parameter to be optional to support new API feature