Towards type-safe and context-based behavior adaptation | IEEE Conference Publication | IEEE Xplore