Export the directory registry in the API