Renamed destroy() to invalidate().