Remove seek method and refactor read method.

I also extended the inline documentation.