add kind field to MultipleDefinitionException
this allows the throwing class to specify what kind of object was
multiply defined