Fix bad endpoints imports