Workaround for some user-defined syntaxes detection