GPipe refactoring. Extracting strict evaluation.