Why do we need the Pipeline API?