Change multiline before blocks to 'do end' syntax