Trim some unneeded codemirror modes.