Fix Object.keys fail on non object. Remove leak on override.