Added comments for readability.

Added comments for readability and corrected some of the comments.
Corrected method names and return values

Corrected method names and made sure deflate returns false, as it is
unsupported just yet.
Corrected method name