aaa
Changed the way the GenericKey, Index and Store carry around type information which simplified the code even further.