make TDClassDefinition>>configurationOf a little more robust