better support of interfaces in message publication 

Pull from upstream