Reorganizing deflate code.