The document discusses a general extension system for event processing languages. It presents two scenarios that demonstrate how to blend the Continuous Query Language (CQL) with other languages like Java and Oracle Spatial. The proposed architecture includes a type registry and language extensions that allow CQL to interface with other languages while remaining agnostic to language specifics. This achieves extensibility while keeping CQL highly descriptive.