Adapt outgoing functions to latest rapidsms version.