Would it be sufficient to do `var scan = code & ~(1 << 10)` to mask off a modifier bit? That would look more idiomatic to me. Also, pull requests should go to kripken:incoming branch. Have you listed yourself in AUTHORS?