Added deletion functionality.