Added configureBlocks method