Changed api.php includes to requires