This includes both how they detect what the current mode (install/uninstall/cleanup/etc) is, and also forces them to register themselves with Dotify. The registration will be used for running pre/post hooks.