Modifies creation of exports.

#394