Update types.h

Removal of external include.