Make listener more independent from token positions.