Store text_type in the server.