purge code unrelated to finalizers