Added OAuth hooks.