Added deete functionality.