See my comments above; I would rather have a type registry than a grab-bag type.