Make struct types overlap with procedures.

Closes PR11971.