Changed parameter in BlockFailed to value_type to fix warnings.