Add Window finalizer.