fix(remix): Wrap handleDocumentRequest
functions.
#5387
Merged
handleDocumentRequest
functions.
#5387