> TYPE_FIELDS should be TYPE_VALUES. Yeah, Ian suggested that too. Seems to work, I'll work up a patch in a bit (unless someone wants to beat me to it ;-)