defregistry now takes optional options map: allows for generating names for register/trigger fns to be overwritten.
trigger-fn defined in defregistry supports taking data optionally; if not present, calls handler with zero args.