Tidy up function exports.