Forgot to require `Promise` in server code.