Move compression to decorator