Added support for project directories.