Added source_patterns to config.
Some cleanup...