fix function visibility
federationexport method was private