Fixing import bug and adding addtl compatibility between bytes/strings