Switching to using secure API calls.