Added methods to wrap authorization API calls.