Refactor the how generic function discriminator is computed.
Refactor the how generic function discriminator is computed.

varjagg/Mezzano,rvedam/Mezzano,froggey/Mezzano,AugustusHuang/Mezzano,rvedam/Mezzano,varjagg/Mezzano,froggey/Mezzano,AugustusHuang/Mezzano