Working on writeToHermes.