Renamed endpoints.py to fix error in AE 1.8.5