Enabling Adaptation of Pervasive Flows: Built-in Contextual Adaptation