Add a VHDL typing style (and some other fixes).