Add lookup.
Remove opendir and releasedir.