Unify interfaces of event style parser/generator