Data compression. Closes #59.