Remove unused types