Delete un-needed types