Also I'm concerned these handlers are registered as soon as module code is executed, I'd expect these to be defined in some explicit initialization function or something