Refactored parse-result destructuring into a macro.