Source selection

Sooner or later, we will want to have 'hasSourceType' as a defined constant somewhere. Does not need to be in this pull, but we should keep it in mind.