Added Generics to SmallNumberedMap