Exporting namespace validation code