Modifies creation of exports.

#392