Ensure exn can compile

Added brackets to deal with ambiguity problems.