Added read and write data block functions. Removed create and null index functions.