Some stuff for OAuth2.