Added WithMaxDeliveryCount to the interface.

Previously it was only available on the concrete class.