Separate api.php and deadlines.php more.