Ah nevermind. I see this is intended to be used with targetLoadSpecs that don't even include a type. So in that case maybe it should just verify that if any extraneous keys are present, they match the original keys.