Removing unused enums