Finished abstracting all block management code.