Updating api.php to reflect currently available hooks.