made block-level parser configurable