Support block state when using pipes

Fixes #6
Bump version