Remove unused structures