Sorry for this ugly commit. Fixed addAggregate() so that it takes id, modResource or Simplx_Mirage_Object as input parameter.