added support for generics for READ compression operations only