I'm assuming this should say `if (handler.curried) {`?