Pass block to "to_blob" function.