Modified ItemTypeBase to work with EntityManagerBase (and XML)