Add metadata directory.