Remove the to_dot stuff.