Fix hook name to match documentation

Should be 'unloaded' to match what's in the api documentation.