Changed how types are identified as Events following new API on KieModuleMetaData