Limiting returned columns to those actually used