Added recursive blocks support to reset