Handles enums, patterns