Lookup fields with classes instead of keys