Make whitelisted grammars a config setting