Split pipe in two parts to avoid fixing deps.