Use do/end instead of { } for multi-line blocks

Fixes #27.