Make sure the parser gets only the correct class type.
Fix the broken spec. by including the ClassTag for the id's value type.