Refactored heatbeat roles into NetworkOperations.