Improvements to compression methods