Lightweight interface wrapper for providing events functions in dna syntax.