[transformation] Implemented TransformationChain class and the dereference-iterator adapter.