Don't need ref string; use PPipeline instead of ref TPipeline