add value extractors.
optimize.