Document the correct use of registerHotplugCallback