adding a currentType method to get current source type if known
Merge branch 'source-type'

* source-type:
  adding a currentType method to get current source type if known