Implemented basic support for external triggers in Context class