Fixed notices in OAuth2 class