removing dead type init code