Changes in export function according to the new allowed syntax