Unnecessary types deleted.