This answer isn't mine but posting in case anyone may need in future.
As per @Nehemiah from Sitecore slack:
I don't think so. I believe they are part of middleware where Sitecore context won't be there.
I followed the link mentioned by @Jeroen. https://sitecore.stackexchange.com/a/26878/3632
One small adjustment I had to make was, I assigned the ...