Add mkRest to embed as snaplet