Added delete functionality.

Added delete functionality.