Use module-level objects in event views