Added column and reference caching to ColumnReference.