Add callbacks for class Set.