Use callbacks for sources and modules