semantic: Slightly improve assigning to enums