Added support for projects without all data sources.
Cleaned old comments.