Added authorization callbacks.