Use mirrors to reflect on the interface classes for each entity type