Replace the "clear()" in Block by its proper code generation.