Add pattern matching syntax