Added code to delete an assignment. Fixes for pylint.