Add missing "main" xml attribute