Implemented contextual value visitor.