Allow source as an array