InstanceIdentifierContext does not take generics