Fix cyclic dependency.