Use TKeyType rather that KeyType as it can be confusing as I thought there was a KeyType class.

Also fixed a xml comment warning