This PR brings these hooks in line with what we have in the Remix repo
#9669 needs to be merged first
This PR brings these functions in line with what we have in the Remix repo