add methods to delete an entity (from database).