Update to new pathogen API

After a long deprecation cycle, I will be making a slight tweak to an API in pathogen that affects Janus. I am providing this update as a courtesy.