Handle piping into head