Remove clear_children_state method from block.cpp commit a2bfbdd4d2f607adc4b5162eb0b4af4099abc957. Some header cleanups done aswell.