Added Delete function.