Make getPipe non static.