Move BEGIN inside same scope as END.