Re-packaged Text document type into 'text' library.