Added code for wood and leaves.