Add missing libs, null variables to avoid leak on reload.