add $self to inflate/deflate
Merge pull request #8 from tsucchi/add_self_to_inflate_and_deflate

add $self to inflate/deflate