Implemented dynamic context change handling.