Handle legacy sophont codes