Make echo example more consistent with others, take advantage of `assign`