King Worm had a lot of really solid stuff: both foreshadowing and callbacks to how characters had grown over the course of the show. And it was a dream episode, so that was basically exactly its purpose: to take the tropes the show had established and play with them.