Move Buffer into attribute of Pipeline