Added saveBlocks and loadBlocks