Simplify endpoint assignment on published messages.