Addd a delete handler to the compiler