Refactor message package, publish Quote and Dequote function