registration: Fix having multiple callbacks for a single hook