Remove redundant includes from api.py