Factor tailing code out of observe-changes code.