Normalize main.