Add text-mode and fundamental-mode