Remove unneeded begin/end block