Removed context mark code from Leaf.