Fix the API files