Fixing typo.

Adding missing `do`s for blocks. Shouldn’t be valid Ruby otherwise AFAIK?