Fix the main export.