Merge "Pass the full context to the ApiMain instance from api.php."