Implement source-type filtering.
Merge pull request #48 from johnb30/source_filtering

Implement source-type filtering.