Allows to use Criterion as a part of graph.