Implemented scope for EndToEndFlow's refined reference.