Remove unused main block