Init abstraction for compression algorithms