Added a deleteEntity function