Why does this rotary encoder have both PCB pins and mounting screw?

Thanks Lefty! I'll get myself one of those. The dremel is a really dangerous piece of rotary tool. I might have to get a drill press stand for it. Drill small holes with it and open them up with a reamer.