Remove redundant begin block