This reverts commit a2d445d4. The original commit is buggy, we do use the registration functions at runtime for modular builds.