Fixed imports for API hooks.

3 jobs for 3-handle-patch-request
in 1 minute and 30 seconds and was queued for 4 seconds