Add required directories.