add ApplySyntax extension