[Core] Invoke external handlers iff the scheme is non-empty.