Added destroy method to Widget prototype