#1538: Added typeCondition in TypeSelector.Configure method to allow a more generic filtering of the returned types.