Added Delete method and associated tests.