refactor out common core of appending a message block to a bundle.