Fix self-dependency.