Basic pipeline reference implementation.