`userId` should be of type `id`.