Split block loading code into load_block functions.