Simpler definition of do blocks