Remove types being printed twice by accident.

This code was supposed to be removed earlier, when it was factored out.