Pull kReadersByDataType lookup out of foreach to prevent wasteful lookups.