Fix config leak around snippets and readonly