The Insteon keypad switches can change the button mode that they are configured to be, 6 Key or 8 Key. This mode that a Keypad is in can be checked by SD command 0x1F setting CMD1 bits based on the categories of the keypads.
(http://cache.insteon.com/pdf/INSTEON_Developers_Guide_20070816a.pdf)
This should probably be used to evaluate which class to instantiate for the keypad.