Oops. Introduced bug in my last commit. Re-titled invite_code to invite_token.