This utility method was used by the PipelineTest class, and deleting it was causing tests to not compile.