remove unused types