Add export to actual functions, not just prototypes.