The api worker needs this. Happy to do this an alternative way.