Only read object types needed in each case.