Factory pattern source recognition.