JK: Added statically accessed event creation function for use in another project.