couldn't those extend methods be converted into useful objects? Couldn't the Entry1[] thing (well, the name is something to consider too) be changed to generics instead of casts here?