Added a compression class for MySQL storage.