Fixed some more DOT generation stuff.