Set sources inside the __init__ constructor.