Handle different exported function names in attributes::export