Fixes use statements in block handlers.