Added type for CustomReceiverProducer func signature. #39.