Corrected main return values.