Working on Agros's writeToHermes.