Pass 'dirs' param in the reverse directly at export_functions time.
drwxr-xr-x - bin
drwxr-xr-x - doc