fix function visibility

federationexport method was private changed to public