Template can now handle multiple sources.