Apply CR. Remove unnecessary begin/end.