Adding handling of deletion events.

Will require more work to handle deletion of child nodes.