Start adding support for export function foo