Allow valid A-labels to pass through encode function