Added caching to DynamicColumn and AlwaysDefinedColumn