Added some deletion functionality.