Forgot to hoist the getResult call in previous commit.