Added block reading functionality.