Refactor translate_body.
Expand begin in body in order to support inner-define correctly.