USe id instead of tid, wid. Mantain backward compatibility.