Added a request type handler for `text`.