Towards model-driven communications