Changing deprecated pathogen call