Removed compression_method struct type

Since it was only used in one place, I've remove the struct type.