Expose destroy in component.