Refactoring to use a default source provider and do away with resource dir exclusion checks.