Fix the font-locking of classes in scenarios like URLDecoder/decode