simplify client event generation for package load/unload