Added doc for `registerAndExport`