Adding label encoding.