Forgot to add "self" to the new compress method

"self" is not used in the "compress" method, but I added it to the
parameters for consistency.