Prepare exports before loading